<!DOCTYPE html>
<html lang="zh-CN" data-theme="light">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <meta name="generator" content="VuePress 2.0.0-beta.60" />
    <meta name="theme" content="VuePress Theme Hope" />
    <meta property="og:url" content="https://wmnaive.gitee.io/devela-os%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/"><meta property="og:site_name" content="DevelaOS"><meta property="og:title" content="实用技术"><meta property="og:type" content="website"><meta property="og:locale" content="zh-CN"><script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"实用技术"}</script><script>var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?87d678935e4b33455c0390543e7a759d";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();</script><title>实用技术 | DevelaOS</title><meta name="description" content="">
    <style>
      :root {
        --bg-color: #fff;
      }

      html[data-theme="dark"] {
        --bg-color: #1d1e1f;
      }

      html,
      body {
        background: var(--bg-color);
      }
    </style>
    <script>
      const userMode = localStorage.getItem("vuepress-theme-hope-scheme");
      const systemDarkMode =
        window.matchMedia &&
        window.matchMedia("(prefers-color-scheme: dark)").matches;

      if (userMode === "dark" || (userMode !== "light" && systemDarkMode)) {
        document.querySelector("html").setAttribute("data-theme", "dark");
      }
    </script>
    <link rel="preload" href="assets/style-a3f7df5d.css" as="style"><link rel="stylesheet" href="assets/style-a3f7df5d.css">
    <link rel="modulepreload" href="assets/app-4f51fb45.js"><link rel="modulepreload" href="assets/framework-cf9dc2d7.js"><link rel="modulepreload" href="assets/index.html-8095bd08.js"><link rel="modulepreload" href="assets/index.html-dbf7a34e.js">
  </head>
  <body>
    <div id="app"><!--[--><!--[--><!--[--><span tabindex="-1"></span><a href="#main-content" class="skip-link sr-only">跳至主要內容</a><!--]--><!--[--><div class="theme-container has-toc"><!--[--><header class="navbar"><div class="navbar-left"><button class="toggle-sidebar-button" title="Toggle Sidebar"><span class="icon"></span></button><!--[--><!----><!--]--><a href="/" class="brand"><img class="logo" src="logo.png" alt="DevelaOS"><!----><span class="site-name hide-in-pad">DevelaOS</span></a><!--[--><!----><!--]--></div><div class="navbar-center"><!--[--><!----><!--]--><nav class="nav-links"><div class="nav-item hide-in-mobile"><a href="/DeveloOS.html" class="nav-link" aria-label="指南"><span class="font-icon icon iconfont icon-activity" style=""></span>指南<!----></a></div><div class="nav-item hide-in-mobile"><a href="/link.html" class="nav-link" aria-label="外链"><span class="font-icon icon iconfont icon-share" style=""></span>外链<!----></a></div><div class="nav-item hide-in-mobile"><a href="/cmd.html" class="nav-link" aria-label="命令"><span class="font-icon icon iconfont icon-shell" style=""></span>命令<!----></a></div><div class="nav-item hide-in-mobile"><a href="/release.html" class="nav-link" aria-label="更新日志"><span class="font-icon icon iconfont icon-repo" style=""></span>更新日志<!----></a></div><div class="nav-item hide-in-mobile"><a href="/about.html" class="nav-link" aria-label="捐献我们"><span class="font-icon icon iconfont icon-alias" style=""></span>捐献我们<!----></a></div></nav><!--[--><!----><!--]--></div><div class="navbar-right"><!--[--><!----><!--]--><!----><div class="nav-item"><a class="repo-link" href="https://github.com/wmnaive" target="_blank" rel="noopener noreferrer" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="icon github-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="github icon" style="width:1.25rem;height:1.25rem;vertical-align:middle;"><path d="M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"></path></svg></a></div><div class="nav-item hide-in-mobile"><button class="outlook-button" tabindex="-1" ariahidden="true"><svg xmlns="http://www.w3.org/2000/svg" class="icon outlook-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="outlook icon"><path d="M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"></path></svg><div class="outlook-dropdown"><!----></div></button></div><!--[--><button class="search-pro-button" role="search" aria-label="搜索"><svg xmlns="http://www.w3.org/2000/svg" class="icon search-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="search icon"><path d="M192 480a256 256 0 1 1 512 0 256 256 0 0 1-512 0m631.776 362.496-143.2-143.168A318.464 318.464 0 0 0 768 480c0-176.736-143.264-320-320-320S128 303.264 128 480s143.264 320 320 320a318.016 318.016 0 0 0 184.16-58.592l146.336 146.368c12.512 12.48 32.768 12.48 45.28 0 12.48-12.512 12.48-32.768 0-45.28"></path></svg></button><!--]--><!--[--><!----><!--]--><button class="toggle-navbar-button" aria-label="Toggle Navbar" aria-expanded="false" aria-controls="nav-screen"><span class="button-container"><span class="button-top"></span><span class="button-middle"></span><span class="button-bottom"></span></span></button></div></header><!----><!--]--><!----><div class="toggle-sidebar-wrapper"><span class="arrow left"></span></div><aside class="sidebar"><!--[--><!----><!--]--><ul class="sidebar-links"><li><section class="sidebar-group"><p class="sidebar-heading"><span class="font-icon icon iconfont icon-activity" style=""></span><span class="title">操作手册</span><!----></p><ul class="sidebar-links"><li><section class="sidebar-group"><button class="sidebar-heading clickable"><span class="font-icon icon iconfont icon-bit" style=""></span><span class="title">vela快应用</span><span class="arrow right"></span></button><!----></section></li><li><section class="sidebar-group"><button class="sidebar-heading clickable"><span class="font-icon icon iconfont icon-alias" style=""></span><span class="title">其他</span><span class="arrow right"></span></button><!----></section></li></ul></section></li><li><section class="sidebar-group"><p class="sidebar-heading"><span class="font-icon icon iconfont icon-software" style=""></span><span class="title">实用技术</span><!----></p><ul class="sidebar-links"><li><section class="sidebar-group"><button class="sidebar-heading clickable"><span class="font-icon icon iconfont icon-discover" style=""></span><span class="title">中间件</span><span class="arrow right"></span></button><!----></section></li><li><section class="sidebar-group"><button class="sidebar-heading clickable"><span class="font-icon icon iconfont icon-snow" style=""></span><span class="title">有趣技术</span><span class="arrow right"></span></button><!----></section></li><li><section class="sidebar-group"><button class="sidebar-heading clickable"><span class="font-icon icon iconfont icon-git" style=""></span><span class="title">Git</span><span class="arrow right"></span></button><!----></section></li><li><section class="sidebar-group"><button class="sidebar-heading clickable"><span class="font-icon icon iconfont icon-relation" style=""></span><span class="title">Docker</span><span class="arrow right"></span></button><!----></section></li><li><section class="sidebar-group"><button class="sidebar-heading clickable"><span class="font-icon icon iconfont icon-linux" style=""></span><span class="title">Linux</span><span class="arrow right"></span></button><!----></section></li></ul></section></li></ul><!--[--><!----><!--]--></aside><!--[--><main class="page" id="main-content"><!--[--><!----><nav class="breadcrumb disable"></nav><div class="page-title"><h1><!---->实用技术</h1><div class="page-info"><span class="page-author-info" aria-label="作者🖊" data-balloon-pos="down"><svg xmlns="http://www.w3.org/2000/svg" class="icon author-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="author icon"><path d="M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"></path></svg><span><a class="page-author-item" href="https://wmnaive.github.io" target="_blank" rel="noopener noreferrer">WM</a></span><span property="author" content="WM"></span></span><!----><!----><!----><span class="page-reading-time-info" aria-label="阅读时间⌛" data-balloon-pos="down"><svg xmlns="http://www.w3.org/2000/svg" class="icon timer-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="timer icon"><path d="M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"></path></svg><span>小于 1 分钟</span><meta property="timeRequired" content="PT1M"></span><!----><!----></div><hr></div><!----><!----><div class="theme-hope-content"><div class="catalog-wrapper"><h2 class="main-title">目录</h2><!--[--><h3 id="Git" class="child-title has-children"><a href="#Git" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Git/" class="catalog-title"><!---->1. Git</a></h3><ul class="child-catalog-wrapper"><li class="child-catalog-item"><div class="sub-title"><a href="#简介" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Git/0.introduction.html" class="catalog-title"><!---->1.1 简介</a></div><!----></li><li class="child-catalog-item"><div class="sub-title"><a href="#仓库" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Git/1.repo.html" class="catalog-title"><!---->1.2 仓库</a></div><!----></li><li class="child-catalog-item"><div class="sub-title"><a href="#分支" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Git/2.branch.html" class="catalog-title"><!---->1.3 分支</a></div><!----></li><li class="child-catalog-item"><div class="sub-title"><a href="#远程仓库" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Git/3.remote.html" class="catalog-title"><!---->1.4 远程仓库</a></div><!----></li><li class="child-catalog-item"><div class="sub-title"><a href="#托管服务器" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Git/4.gitserver.html" class="catalog-title"><!---->1.5 托管服务器</a></div><!----></li></ul><!--]--><!--[--><h3 id="中间件" class="child-title has-children"><a href="#中间件" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/%E4%B8%AD%E9%97%B4%E4%BB%B6/" class="catalog-title"><!---->2. 中间件</a></h3><ul class="child-catalog-wrapper"><li class="child-catalog-item"><div class="sub-title"><a href="#ElasticSearch" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/%E4%B8%AD%E9%97%B4%E4%BB%B6/Elasticsearch.html" class="catalog-title"><!---->2.1 ElasticSearch</a></div><!----></li></ul><!--]--><!--[--><h3 id="Docker" class="child-title has-children"><a href="#Docker" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Docker/" class="catalog-title"><!---->3. Docker</a></h3><ul class="child-catalog-wrapper"><li class="child-catalog-item"><div class="sub-title"><a href="#基本介绍" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Docker/0.dcoker.html" class="catalog-title"><!---->3.1 基本介绍</a></div><!----></li><li class="child-catalog-item"><div class="sub-title"><a href="#安装使用" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Docker/1.start.html" class="catalog-title"><!---->3.2 安装使用</a></div><!----></li></ul><!--]--><!--[--><h3 id="Linux" class="child-title has-children"><a href="#Linux" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Linux/" class="catalog-title"><!---->4. Linux</a></h3><ul class="child-catalog-wrapper"><li class="child-catalog-item"><div class="sub-title"><a href="#Linux简介" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Linux/0.%E7%AE%80%E4%BB%8B.html" class="catalog-title"><!---->4.1 Linux简介</a></div><!----></li><li class="child-catalog-item"><div class="sub-title"><a href="#安装" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Linux/1.%E5%AE%89%E8%A3%85.html" class="catalog-title"><!---->4.2 安装</a></div><!----></li><li class="child-catalog-item"><div class="sub-title"><a href="#常用命令" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Linux/2.%E5%91%BD%E4%BB%A4.html" class="catalog-title"><!---->4.3 常用命令</a></div><!----></li><li class="child-catalog-item"><div class="sub-title"><a href="#Vim" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Linux/3.vim.html" class="catalog-title"><!---->4.4 Vim</a></div><!----></li><li class="child-catalog-item"><div class="sub-title"><a href="#" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/Linux/4.shell.html" class="catalog-title"><!---->4.5 Unknown</a></div><!----></li></ul><!--]--><!--[--><h3 id="有趣技术" class="child-title has-children"><a href="#有趣技术" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/%E6%9C%89%E8%B6%A3%E6%8A%80%E6%9C%AF/" class="catalog-title"><!---->5. 有趣技术</a></h3><ul class="child-catalog-wrapper"><li class="child-catalog-item"><div class="sub-title"><a href="#Protocol Buffers" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/%E6%9C%89%E8%B6%A3%E6%8A%80%E6%9C%AF/Protoc.html" class="catalog-title"><!---->5.1 Protocol Buffers</a></div><!----></li><li class="child-catalog-item"><div class="sub-title"><a href="#TOML" class="header-anchor">#</a><a href="/%E5%AE%9E%E7%94%A8%E6%8A%80%E6%9C%AF/%E6%9C%89%E8%B6%A3%E6%8A%80%E6%9C%AF/TOML.html" class="catalog-title"><!---->5.2 TOML</a></div><!----></li></ul><!--]--></div></div><!----><footer class="page-meta"><!----><div class="meta-item git-info"><!----><!----></div></footer><!----><!----><!----><!--]--></main><!--]--><!----></div><!--]--><!--]--><!----><!----><!--]--></div>
    <script type="module" src="assets/app-4f51fb45.js" defer></script>
  </body>
</html>
